package com.edu.exception;

import java.io.IOException;

/**
 * 自定义异常类
 * @author Administrator
 *
 */
public class FileException extends Exception {

	/**
	 * 错误常量
	 */
	
	public static  final String FILE_NOT_FOUND = "文件不存在";
	public static  final String FILE_ALREADY_EXISTS="文件已存在";
	public static  final String NAME_ILLEGAL= "文件或目录名不合法";
	public static  final String FILE_NOT_DIRECTORY = "文件不存在或不是目录";
	public static  final String FILE_TYPE_INCORRECT = "文件类型错误";
	
	private static final long serialVersionUID = -4687259351344053115L;
	
	public FileException() {
	    super();
	}
	public FileException(String message) {
	   super(message);
	}
	

}
